package com.housediyadmin.model
{
	import com.housediyadmin.vo.House;
	
	import flash.utils.ByteArray;
	
	import mx.collections.ArrayCollection;
	
	import org.robotlegs.mvcs.Actor;
	
	/**
	 * 
	 * @author yanghanbing
	 * 2010/11/16
	 */	
	public class HouseModel extends Actor
	{
		[Bindable]
		public var houseArray:ArrayCollection ;		
		
		[Bindable]
		public var houseIds:ArrayCollection;
		
		[Bindable]
		public var selectedHouse:House;
		
		[Bindable]
		public var selectedHouseArr:Array=new Array();
		
		[Bindable]
		public var buildingId:int;
		
		public function HouseModel()
		{
			super();
		}
		
		public function updateHouseModel(houseArray:ArrayCollection = null):void
		{			
			this.houseArray = houseArray;
		}
		
        public function updateHouseIds(houseIds:ArrayCollection):void
		{
			this.houseIds = houseIds;
		}
	}
}